//
//  GCDBlock.m
//  高仿暴走斗图
//
//  Created by key on 16/3/22.
//  Copyright © 2016年 huangsongyao. All rights reserved.
//

#import "GCDBlock.h"

@implementation GCDBlock

- (void)setQueueBlock:(QueueBlock)queueBlock {
    
    _queueBlock = queueBlock;
    [self blockTransferForQueueB:queueBlock];
}


- (void)blockTransferForQueueB:(QueueBlock)qBlock {
    
    if (!qBlock) {
        qBlock();
    }
}


@end
